package com.app.mapper.authority;

import org.apache.ibatis.annotations.Mapper;



import com.app.entity.authority.Department;

import java.util.List;

@Mapper
public interface DepartmentMapper {
	

	Integer insertDepartment(Department department);

	Integer updateDepart(Department department);

	Integer delDepart(Department department);

	 List<Department>   queryDeptTreeList(String parentId);

	List<Department> selectDepartmentById(String id);

	List<Department>   validateLevelCode(Department _department);

	List<Department> selectDepartByParentId(String id);


}
